package rmi.chat.server;

import java.rmi.*;
import rmi.chat.client.Receiver;

public interface Server extends Remote {
	public String CHAT_SERVER = "chatserver";
	public void broadcast(String msg) throws RemoteException;
	public void addReceiver(Receiver client) throws RemoteException;
	public void removeReceiver(Receiver client) throws RemoteException;
}
